package com.shop.mms_client.model;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "blacklist")
public class BlacklistItem {
    @PrimaryKey(autoGenerate = true)
    private int id;
    private String value;  // 可以是电话号码或关键词
    private String type;   // "PHONE" 或 "KEYWORD"
    
    public BlacklistItem(String value, String type) {
        this.value = value;
        this.type = type;
    }

    // Getters and Setters
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public String getValue() { return value; }
    public void setValue(String value) { this.value = value; }
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
} 